package com.template.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.template.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yumuyang
 * @since 2021-11-01
 */
public interface StaffService extends IService<Staff> {

    public Page<Staff> selectAllPage(Integer pn);

    public void deleteStaffById(Integer id);

    public void saveStaff(Staff staff);

    public void updateStaff(Staff staff);

    public Page<Staff> selectAllPageByWrapper(Integer pn, Integer departmentid, String keyword);

}
